<?php
   
    include_once '../../../../controlador/php/conexion/Conexion.php';
    $con = new Conexion();
    
   
    $oids = $_REQUEST['oid'];
    
    $consu = "select * from segimagenes where hcnsolexa = ".$oids;
    $res = $con->query($consu);
    
   while
        ($re = mssql_fetch_array($res)){
        $lista[] = array_map(utf8_encode,$re);
    }
  
    print_r(json_encode($lista));
    $con->cerrarConexion();
    
    
    
?>